package com.chixing.pojo;

import java.util.Date;

public class BaseMessage {
   private Long ObjectId;
   private Date messageDate;
   private String shopName;
   private String title;
   private String messageText;
   private String status;

    public BaseMessage(){}
    public BaseMessage(Long objectId, Date messageDate, String shopName, String title, String messageText, String status) {
        ObjectId = objectId;
        this.messageDate = messageDate;
        this.shopName = shopName;
        this.title = title;
        this.messageText = messageText;
        this.status = status;
    }

    public Long getObjectId() {
        return ObjectId;
    }

    public void setObjectId(Long objectId) {
        ObjectId = objectId;
    }

    public Date getMessageDate() {
        return messageDate;
    }

    public void setMessageDate(Date messageDate) {
        this.messageDate = messageDate;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getMessageText() {
        return messageText;
    }

    public void setMessageText(String messageText) {
        this.messageText = messageText;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "BaseMessage{" +
                "ObjectId=" + ObjectId +
                ", messageDate=" + messageDate +
                ", shopName='" + shopName + '\'' +
                ", title='" + title + '\'' +
                ", messageText='" + messageText + '\'' +
                ", status='" + status + '\'' +
                '}';
    }
}
